package com.example.entity;

import java.io.Serializable;

public class User extends Account implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;
    private String username;
    private String password;
    private String name;
    private String avatar;
    private String role;
    private String phone;
    private String email;
    private String member;
    private Integer score;
    private Double account;


    public User() {
    }

    public User(long serialVersionUID, Integer id, String username, String password, String name, String avatar, String role, String phone, String email, String member, Integer score, Double account) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.name = name;
        this.avatar = avatar;
        this.role = role;
        this.phone = phone;
        this.email = email;
        this.member = member;
        this.score = score;
        this.account = account;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return avatar
     */
    public String getAvatar() {
        return avatar;
    }

    /**
     * 设置
     * @param avatar
     */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * 获取
     * @return role
     */
    public String getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(String role) {
        this.role = role;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return member
     */
    public String getMember() {
        return member;
    }

    /**
     * 设置
     * @param member
     */
    public void setMember(String member) {
        this.member = member;
    }

    /**
     * 获取
     * @return score
     */
    public Integer getScore() {
        return score;
    }

    /**
     * 设置
     * @param score
     */
    public void setScore(Integer score) {
        this.score = score;
    }

    /**
     * 获取
     * @return account
     */
    public Double getAccount() {
        return account;
    }

    /**
     * 设置
     * @param account
     */
    public void setAccount(Double account) {
        this.account = account;
    }

    public String toString() {
        return "User{serialVersionUID = " + serialVersionUID + ", id = " + id + ", username = " + username + ", password = " + password + ", name = " + name + ", avatar = " + avatar + ", role = " + role + ", phone = " + phone + ", email = " + email + ", member = " + member + ", score = " + score + ", account = " + account + "}";
    }
}